import _qs from 'qs'

export function urlParamStringify(paramMap, config) {
  let opts = Object.assign({indices: false, arrayFormat: 'repeat'}, config)
  return _qs.stringify(paramMap, opts);
}

export {_qs}